package calao.client;

import com.google.gwt.user.client.rpc.IsSerializable; 

public class ProfileInfo 
implements IsSerializable 
{

	int id;

	String name;
	
	String[] permissionNames;
	
	public ProfileInfo() { }
	
	public ProfileInfo(int id, String name)
	{
		this.id = id;
		this.name = name;
	}
	
	public ProfileInfo(ProfileInfo info)
	{
		this.id = info.id;
		this.name = info.name;
		this.permissionNames = info.permissionNames;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String[] getPermissionNames() {
		return permissionNames;
	}

	public void setPermissionNames(String[] permissionNames) {
		this.permissionNames = permissionNames;
	}

	public int getId() {
		return id;
	}
	
}
